package com.cdtu.service;

import com.cdtu.pojo.Emp;
import com.cdtu.pojo.PageBean;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;


public interface EmpService {
/*
* 根据页码查询数据
* */
    PageBean page(Integer page, Integer pageSize,String name, Short gender, LocalDate begin, LocalDate end);

    void delete(List<Integer> ids);

    void add(Emp emp);

    Emp getById(Integer id);

    void updateById(Emp emp);

    Emp login(Emp emp);

}
